package com.itheima.service;

import com.itheima.domain.Product;

import java.util.List;

public interface ProductService {
    List<Product> findAll();

    Product findById(Integer id);

    int add(Product product);

    int updateById(Product product);

    int deleteById(Integer id);

    int deleteByIdStatus(Integer id);

    List<Product> findByNPT(Product product);

    int updateCon(Product product);

    int addBatch(List<Product> list);
}
